package com.zhang.service;

import com.zhang.mapper.LoginMapper;
import com.zhang.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author ZhangJunqi
 * @Date 2022/3/2 -20:55
 */
@Service
public class LoginService {
    @Resource
    private LoginMapper loginMapper;
    public User getLogin(User user) {
        return loginMapper.getLogin(user);
    }
}
